import request from '@/utils/request'

//【用户管理】返回 部门信息树
export function getTreeJsonByParm(data: any) {
  return request({
    url: '/Base_Department/TreeJson',
    method: 'post',
    data,
  })
}

export function getList(data: any) {
  return request({
    url: '/Base_User/GetPageData',
    method: 'post',
    data,
  })
}

export function doEdit(data: any) {
  return request({
    url: '/Base_User/saveUser',
    method: 'post',
    data,
  })
}

export function doDelete(data: any) {
  return request({
    url: '/Base_User/DelU',
    method: 'post',
    data,
  })
}

export function resetpassword(data: any) {
  return request({
    url: '/Base_User/resetpassword',
    method: 'post',
    data,
  })
}

